﻿@model Backend.JYD.Model.Cust.CustMarketingInfo
@using Backend.JYD.Business
@{
    ViewBag.Title = "营销任务详情";
    Layout = "~/Views/Shared/_LayoutWin.cshtml";
}

<div class="ui_pop_body" style="width: 600px; height: 380px;">
    <div>
    <ul class="edit-ul">
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.MarketingId)：</span>
            <span class="s02">@Model.MarketingId</span>
        </li>
        @if (Model.TaskId > 0)
        {
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.TaskId)：</span>
            <span class="s02">@Model.TaskId</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.TaskDetailId)：</span>
            <span class="s02">@Model.TaskDetailId</span>
        </li>
        }
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.CustNo)：</span>
            <span class="s02">@Html.DisplayFor(model => model.CustNo)</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.CustName)：</span>
            <span class="s02"><label>@Html.DisplayFor(model => model.CustName)</label></span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.ScheduleTime)：</span>
            <span class="s02">@Model.ScheduleTime</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.ValidDays)：</span>
            <span class="s02">@Model.ValidDays</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.Memo)：</span>
            <span class="s02">@Model.Memo</span>
        </li>
    
         <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.TouchTime)：</span>
            <span class="s02">@Model.TouchTime</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.Ways)：</span>
            <span class="s02">@Model.Ways</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.Remark)：</span>
            <span class="s02">@Model.Remark</span>
        </li>

        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.Status)：</span>
            <span class="s02">@(Model == null || Model.Status == null ? "-" : TaskManager.GetTaskStatusCode(Model.Status.Value))</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.CreateTime)：</span>
            <span class="s02">@Model.CreateTime</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.UpdateTime)：</span>
            <span class="s02">@Model.UpdateTime</span>
        </li>
        <li class="li01">
            <span class="s01">@Html.LabelFor(model => model.OpId)：</span>
            <span class="s02">@Model.OpId</span>
        </li>
    </ul>
    </div>
</div>